package com.augurit.gzcgwsp.hwgz.service;

import java.util.List;
import com.augurit.common.base.service.ICrudService;
import com.augurit.common.system.web.auth.form.LoginUserForm;
import com.augurit.gzcgwsp.hwgz.entity.YwHwShSqb;
import com.augurit.gzcgwsp.hwgz.web.form.YwHwShSqbForm;

public interface IYwHwShSqbService extends ICrudService<YwHwShSqbForm, Long> {
    public void changeYslState(Long id, Long state,String yslThyy);
	public void changeIsycbl(Long id, String state);
	/**
     * 设置该案件为咨询服务案件
     * @param id
     */
    public void changeIsZxfwaj(Long id);
    public void endSave(Long id);
	//通过案件号获得实体类
    public List<YwHwShSqb> getByAcceptNo(String acceptNo);
    
    /**
	 * 通过ID号,改变窗口是否可打印受理通知书状态(1为是；0和空为否)
	 * @param id 
	 * @return 
	 */
	public void changeSendAcceptNotice(Long id);
	
	/**
	 * 通过ID号,改变窗口是否可打印延期办理结果通知书状态(1为是；0和空为否)
	 * @param id 
	 * @return 
	 */
	public void changeSendYqNotice(Long id);
	
	/**
	 * 根据ID获得对象实体
	 * @param id
	 * @return
	 */  
	public YwHwShSqb getEntity(Long id);
	
	/**
     * 保存对象实体
     * @param ywHwShSqb
     */     
    public void saveEntity(YwHwShSqb ywHwShSqb);
    
    public String writeSslybData(String context,String printtype,YwHwShSqbForm xkForm);
    public String wfBusYslTuih(YwHwShSqbForm form,LoginUserForm loginUser) throws Exception;
    
	public void updateAcceptNo(YwHwShSqb form);
}